package org.estela.comp;

import java.util.Stack;

import org.estela.vm.Instruction;

public class Function {

	private String _name;
	
	private Class[] _arguments;

	private Class _returnType;
	
	private Instruction[] _instructions;
	
	/**
	 * 
	 * @param name
	 * @param arguments
	 */
	public Function(String name, Class[] arguments, Class returnType) {
		_name = name;
		_arguments = arguments;
		_returnType = returnType;
	}
	
	public String getName() {
		return _name;
	}
	
	public Class[] getArguments() {
		return _arguments;
	}

	public Class getReturnType() {
		return _returnType;
	}
}
